“详解Ubuntu22.04安装Anaconda及基础命令,教你如何在PyCharm中使用Anaconda” |
您所在的位置:网站首页 › anaconda安装preparing transaction › “详解Ubuntu22.04安装Anaconda及基础命令,教你如何在PyCharm中使用Anaconda” |
安装方式分为手动安装与curl下载安装包安装 前言 一、介绍curl下载安装包(五步)①升级系统权限 ②安装curl 包 ③准备Anaconda Installer ④下载安装Anaconda 在ubuntu 22.04上 ⑤激活设置环境 ⑥验证Anaconda 是否安装成功 附加:怎么从ubuntu22.04上移除Anaconda 二、conda的基础使用1.环境管理 2.包管理 三、pycharm使用anaconda环境STEP 1: 创建新的环境 STEP 2: 安装结束之后输入下列指令激活虚拟环境 STEP 3: 设置pycharm 安装 一、下载Anaconda packagecurl下载安装包 ①升级系统权限(CTRL+ALT+T打开终端) sudo apt update ②安装curl 包 sudo apt install curl -y ③准备Anaconda Installer 1、转换目前工作目录到/tmp cd /tmp 2、curl 安装Anaconda installer script curl –output anaconda.sh https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh ④下载安装Anaconda 在ubuntu 22.04上 bash anaconda.sh 会出现Anacoda 安装说明书一直按 Enter Please answer 'yes' or 'no': >>>yes Anaconda3 will now be installed into this location: /home/xxxx/anaconda3 – Press ENTER to confirm the location – Press CTRL-C to abort the installation – Or specify a different location below [/home/xxxx/anaconda3] >>> Preparing transaction: done Executing transaction: | Installed package of scikit-learn can be accelerated using scikit-learn-intelex. More details are available here: https://intel.github.io/scikit-learn-intelex For example: $ conda install scikit-learn-intelex $ python -m sklearnex my_application.py done installation finished. Do you wish the installer to initialize Anaconda3 by running conda init? [yes|no] [no] >>> yes no change /home/xxxx/anaconda3/condabin/conda no change /home/xxxx/anaconda3/bin/conda no change /home/xxxx/anaconda3/bin/conda-env no change /home/xxxx/anaconda3/bin/activate no change /home/xxxx/anaconda3/bin/deactivate no change /home/xxxx/anaconda3/etc/profile.d/conda.sh no change /home/xxxx/anaconda3/etc/fish/conf.d/conda.fish no change /home/xxxx/anaconda3/shell/condabin/Conda.psm1 no change /home/xxxx/anaconda3/shell/condabin/conda-hook.ps1 no change /home/xxxx/anaconda3/lib/python3.9/site-packages/xontrib/conda.xsh no change /home/xxxx/anaconda3/etc/profile.d/conda.csh modified /home/xxxx/.zshrc ==> For changes to take effect, close and re-open your current shell. WARNING: A newer version of conda exists. |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |